//
//  LPjson.h
//  LawAndProtect
//
//  Created by 铸功 戚 on 16/1/21.
//  Copyright © 2016年 gw. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef  void(^StatusSuccessBlock)(id  responseObject);
typedef void (^StatusFailureBlock)(NSError *erroe);
@interface HttpMamager : NSObject

+ (void)getWithPath:(NSString *)path params:(NSDictionary *)params success:(StatusSuccessBlock)success failure:(StatusFailureBlock)failure;

+ (void)postWithPath:(NSString *)path params:(NSDictionary *)params success:(StatusSuccessBlock)success failure:(StatusFailureBlock)failure;

+ (id)synchronizationGet:(NSString *)urlSring;


+ (instancetype)sharedHTTPRequestManager;

@end
